package io.adrainty.bolee.security.initial;

import io.adrainty.bolee.security.service.ICompanyService;
import jakarta.annotation.PostConstruct;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/9 下午4:26
 */

@Component
public class InitCompany {

    @Resource
    private ICompanyService companyService;

    @PostConstruct
    public void initCompanyCache() {
        companyService.refreshCompanyWebsiteCache();
    }

}
